package com.demo.service;

import java.util.List;

import com.demo.model.User;

public interface IUserService {

    int save(User user);
    
    List<User> getUsers(String username, int pageNo, int pageSize); 
    
    User getUserById(int id);
    
    Integer updateUser(User user);
    
    Integer deleteUser(int id);

	boolean login(String username, String password);
	
	int count(String username);

}
